package com.example.demonstrate.wang.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author along
 * @Date 2024/6/28 14:38
 * @Description 定时任务配置类
 */

@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = "scheduled.tasks")
public class TaskSchedulerProperties {

    private boolean profilePushEnabled;
    private boolean facePushEnabled;

    public void setProfilePushEnabled(boolean profilePushEnabled) { this.profilePushEnabled = profilePushEnabled; }

    public void setFacePushEnabled(boolean facePushEnabled) { this.facePushEnabled = facePushEnabled; }
}
